package org.donald.g1.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @author donald
 * 2018年3月15日
 * 上午9:15:59
 */
public class Person implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 8660453390361126372L;
	private String name;
	private Long age;
	private List<String> emails;
	public Person(String name, Long age,String email) {
		super();
		this.name = name;
		this.age = age;
		emails = new ArrayList<String>();
		emails.add(email);
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Long getAge() {
		return age;
	}
	public void setAge(Long age) {
		this.age = age;
	}
	public List<String> getEmails() {
		return emails;
	}
	public void setEmails(List<String> emails) {
		this.emails = emails;
	}
}
